package com.ks.core.framework.cpsupload.demos.orderpayinvoice.orderhandler;

import com.ks.core.framework.cpsupload.demos.orderpayinvoice.constant.OrderType;

// 库存服务
class InventoryService {
    public static void reduceInventory(OrderType orderType, String itemId) {
        System.out.println("扣减库存: 类型=" + orderType + ", 项目=" + itemId);
    }
    
    public static void increaseInventory(OrderType orderType, String itemId) {
        System.out.println("增加库存: 类型=" + orderType + ", 项目=" + itemId);
    }
}